package entity;

/**
 * @Author Yenchingcheng
 * @Date 2023/6/19 15:21
 * @Description
 **/
public class SubtractCalculator implements Calculator{
    @Override
    public Double calculate(double number1, double number2) {
        System.out.println("进行减法计算：");
        System.out.println(number1 + "-" + number2 + "=");
        return number1 - number2;
    }
}
